package com.xydtech.common.utils.bean;

import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * @Title: ExcelImpError
 * @Package: com.xydtech.common.utils.bean
 * @Description: Excel导入错误内容对象
 * @author: Daniel
 * @date: 2020-06-17 18:14
 * @version: V1.0
 **/
public class ExcelImpError {

    private int row;

    private String name;

    private String phoneNumber;

    private String userCode;

    private String error;

    public ExcelImpError() {
        this.error = "";
    }

    public int getRow() {
        return row;
    }

    public void setRow(int row) {
        this.row = row;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("row", row)
                .append("name", name)
                .append("phoneNumber", phoneNumber)
                .append("userCode", userCode)
                .append("error", error)
                .toString();
    }
}